package com.itheima.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PageDto {
    /*
        "currentPage":1  //当前页,必须的
        "pageSize":6 //每页展示条数,必须的
        "username":"张三" //用户名，需要做模糊查询,非必须的
        "status":0  //状态:0禁用 1启用 非必须
     */
    @ApiModelProperty(value = "当前页",required = true)
    private Integer currentPage;
    @ApiModelProperty(value = "每页展示条数",required = true)
    private Integer pageSize;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "状态")
    private Integer status;
}
